
function logClass(constructor: Function){
    console.log('constructor', constructor)
}
@logClass
class Person {
    constructor(public name: string){

    }
}

function logClassWithParams(message: string){
    return function(constructor: Function){
        console.log('constructor', constructor, message)
    }
}
@logClassWithParams('wwwww')
class Car{}